<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let arr =  [89, 78,37,110,56, 100, 21, 87, 77, 0, 52, 8, 151,25, 80,7];
        let newArr = new Array();
        for(let i = 0;i<arr.length;i++){
            if(arr[i] >= 50){
                newArr.push(arr[i]);
            }
        }
        alert(newArr);
    </script>
</body>
</html>
